package com.tumblr.logico2012.screens;

import com.tumblr.logico2012.gestures.GestureManager;

/**
 * All screens of the application must implement this interface.
 */
public interface IScreen {
	/**
	 * Draw the screen
	 */
	public void draw();
	/**
	 * Leave the screen
	 */
	public void leave();
	/**
	 * KeyPressed event forwarding 
	 */
	public void keyPressed();
	/**
	 * Activate gestures for the given user
	 * @param manager Gesture manager
	 * @param userId New user
	 */
	public void registerUser(GestureManager manager, int userId);
	/**
	 * Return value: the screen can pass information to the application that way.
	 * @return Return value
	 */
	public String returnValue();
}
